<script setup lang="ts">
</script>

<template>
  <div class="pai-container">
    <div class="pai-container-left">
      <div class="flex flex-col items-center justify-center flex-1 gap-[10px]">
        <div class="font-16 !font-[600]">外部客商数</div>
        <div>
          <span class="font-40 !text-[#0973CA] !font-[500]">1456</span>
          <span class="font-16 !font-[600]">家</span>
        </div>
      </div>
      <div class="flex flex-col items-center justify-center flex-1 gap-[10px] border-top-dashed">
        <div class="font-16 !font-[600]">废旧物资项</div>
        <div>
          <span class="font-40 !text-[#0973CA] !font-[500]">256</span>
          <span class="font-16 !font-[600]">项</span>
        </div>
      </div>
      <div class="flex flex-col items-center justify-center flex-1 gap-[10px] border-top-dashed">
        <div class="font-16 !font-[600]">竞拍场数</div>
        <div>
          <span class="font-40 !text-[#0973CA] !font-[500]">53</span>
          <span class="font-16 !font-[600]">场</span>
        </div>
      </div>
      <div class="flex flex-col items-center justify-center flex-1 gap-[10px] border-top-dashed">
        <div class="font-16 !font-[600]">竞拍总金额</div>
        <div>
          <span class="font-40 !text-[#0973CA] !font-[500]">866</span>
          <span class="font-16 !font-[600]">万元</span>
        </div>
      </div>
    </div>
    <div class="pai-container-right">
      <div class="h-[58px] flex items-center pai-container-right-nav">
        <div class="flex-1 h-full flex items-center justify-center active rounded-tl-[10px]">不限</div>
        <div class="flex-1 h-full flex items-center justify-center">护栏立柱</div>
        <div class="flex-1 h-full flex items-center justify-center">涉路信息设备</div>
        <div class="flex-1 h-full flex items-center justify-center">工程机械设备类</div>
        <div class="flex-1 h-full flex items-center justify-center">办公家具</div>
        <div class="flex-1 h-full flex items-center justify-center rounded-tr-[10px]">金属类</div>
      </div>
      <div class="pai-container-right-content grid grid-cols-3 gap-[24px]">
        <div class="box">
          <div class="w-[256px] h-[266px] mb-[5px] relative">
            <div class="tip">预热中</div>
            <img src="@/assets/image/pai1.jpg" class="w-full h-full" alt="">
          </div>
          <div class="title">废旧机非隔离护栏</div>
          <div>
            <span class="pat-jia">起拍价：</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">¥</span>
            <span class="text-[18px] font-[700] text-[#EA5504]">1560.00元</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">/吨</span>
          </div>
          <div class="text-center time">
            距离开始：2025-08-04 11:00
          </div>
        </div>
        <div class="box">
          <div class="w-[256px] h-[266px] mb-[5px] relative">
             <div class="tip">预热中</div>
            <img src="@/assets/image/pai2.jpg" class="w-full h-full" alt="">
          </div>
          <div class="title">东风牌小型普通客车</div>
          <div>
            <span class="pat-jia">起拍价：</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">¥</span>
            <span class="text-[18px] font-[700] text-[#EA5504]">3700.00元</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">/辆</span>
          </div>
          <div class="text-center time">
            距离开始：2025-08-04 11:00
          </div>
        </div>
        <div class="box">
          <div class="w-[256px] h-[266px] mb-[5px] relative">
            <div class="tip">预热中</div>
            <img src="@/assets/image/pai3.jpg" class="w-full h-full" alt="">
          </div>
          <div class="title">废旧钢绞线</div>
          <div>
            <span class="pat-jia">起拍价：</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">¥</span>
            <span class="text-[18px] font-[700] text-[#EA5504]">¥1150.00元</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">/吨</span>
          </div>
          <div class="text-center time">
            距离开始：2025-08-04 11:00
          </div>
        </div>
        <div class="box">
          <div class="w-[256px] h-[266px] mb-[5px] relative">
             <div class="tip">预热中</div>
            <img src="@/assets/image/pai4.jpg" class="w-full h-full" alt="">
          </div>
          <div class="title">废旧橡胶棒</div>
          <div>
            <span class="pat-jia">起拍价：</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">¥</span>
            <span class="text-[18px] font-[700] text-[#EA5504]">360.00元</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">/吨</span>
          </div>
          <div class="text-center time">
            距离开始：2025-08-04 11:00
          </div>
        </div>
        <div class="box">
          <div class="w-[256px] h-[266px] mb-[5px] relative">
             <div class="tip">预热中</div>
            <img src="@/assets/image/pai5.jpg" class="w-full h-full" alt="">
          </div>
          <div class="title">废旧挂篮模板内外膜</div>
          <div>
            <span class="pat-jia">起拍价：</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">¥</span>
            <span class="text-[18px] font-[700] text-[#EA5504]">1600.00元</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">/吨</span>
          </div>
          <div class="text-center time">
            距离开始：2025-08-04 11:00
          </div>
        </div>
        <div class="box">
          <div class="w-[256px] h-[266px] mb-[5px] relative">
             <div class="tip">预热中</div>
            <img src="@/assets/image/pai6.jpg" class="w-full h-full" alt="">
          </div>
          <div class="title">废旧钢筋</div>
          <div>
            <span class="pat-jia">起拍价：</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">¥</span>
            <span class="text-[18px] font-[700] text-[#EA5504]">1540.00元</span>
            <span class="text-[14px] font-[700] text-[#EA5504]">/吨</span>
          </div>
          <div class="text-center time">
            距离开始：2025-08-04 11:00
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.pai-container {
  height: 862px;
  display: flex;
  align-items: center;
  gap: 24px;

  &-left {
    width: 304px;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(270deg, #DFF0FF 0%, #CEE8FF 100%);
    display: flex;
    flex-direction: column;

    .border-top-dashed {
      width: 256px;
      height: 0px;
      margin: auto;
      opacity: 1;
      /* 蓝色 */
      border-top: 1px dashed #0973CA;
    }
  }

  &-right {
    width: calc(100% - 304px);
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(180deg, #DFF0FF 0%, #F6FAFF 100%);
    display: flex;
    flex-direction: column;
    gap: 10px;

    .active {
      color: white !important;
      /* 蓝色渐变 */
      background: linear-gradient(270deg, #2C91EB 0%, #0973CA 100%) !important;
    }

    &-nav{
      font-size: 20px;
      font-weight: 500;
      line-height: normal;
      text-align: center;
      letter-spacing: 0;
      font-feature-settings: "kern" on;
      color: rgba(33, 114, 186, 0.65);
    }

    &-content {
      padding: 0 24px 12px 24px;
      height: calc(100% - 58px);


      .box {
        padding: 32px 32px 0 32px;
        width: 320px;
        height: 385px;
        border-radius: 10px;
        opacity: 1;
        background: #FFFFFF;
        box-shadow: 0px 4px 10px 0px rgba(13, 58, 176, 0.1);
        display: flex;
        flex-direction: column;

        .tip {
          position: absolute;
          width: 54px;
          height: 24px;
          border-radius: 4px 0px 4px 0px;
          font-size: 14px;
          /* 自动布局 */
          display: flex;
          flex-direction: column;
          padding: 2px 6px;
          color: #FFFFFF;
          background: linear-gradient(90deg, #EA5504 0%, #F08A53 100%);
        }
      }

      .pat-jia{
        font-weight: 400;
        font-size: 14px;
      }

      .title {
        font-size: 16px;
        font-weight: 500;
        line-height: normal;
        letter-spacing: 0;
        font-feature-settings: "kern" on;
        /* 1字体 */
        color: #333333;
      }

      .time {
        font-size: 14px;
        font-weight: normal;
        line-height: normal;
        letter-spacing: 0;
        font-feature-settings: "kern" on;
        color: #999999;
      }
    }
  }
}
</style>
